from django.urls import path

from orders import views
from orders.views import OrderSettlementView, OrderCommitView, OrderSuccessView

app_name='orders'


urlpatterns=[
# 结算订单
    path('orders/settlement/', OrderSettlementView.as_view(),
         name='settlement'),
    # 提交订单
    path('orders/commit/', OrderCommitView.as_view()),
    # 提交订单成功
    path('orders/success/', OrderSuccessView.as_view()),
]